// 轻量级的，为变量，函数添加的约束
(() => {
  function show (str:string) { 
    return "你好啊" + str;
  }
  console.log(show('666'))
})()

class My {
  name:string;
  constructor(name: string) {
    this.name = name
  }
}

const my = new My("宋宇")
console.log(my.name)
export default My